home *** CD-ROM | disk | FTP | other *** search
- Path: erich.triumf.ca!bennett
- From: bennett@erich.triumf.ca (P.Bennett)
- Newsgroups: comp.lang.c
- Subject: Re: This should really be a simple question for you C-freaks...
- Date: 2 Apr 1996 22:57 PST
- Organization: TRIUMF: Tri-University Meson Facility
- Distribution: world
- Message-ID: <2APR199622573397@erich.triumf.ca>
- References: <4jrue1$gsu@nyheter.chalmers.se>
- NNTP-Posting-Host: ftp.triumf.ca
- News-Software: VAX/VMS VNEWS 1.50
-
- In article <4jrue1$gsu@nyheter.chalmers.se>, Tobias Nilsson <tb9593@ios.chalmers.se> writes...
- >Well, even a damn good assembler-programmer runs into trouble,
- >sometimes... ;)
- >
- >Anyway... I'm just trying to read the keyboard without having the
- >characters displayed on the f-cking screen! Just as that! But I've
- >tried getchar, scanf, fun.01 int 21h... but they all display them...
- >I'm sure you had this question before... but I was playing with myself
- >that time, so I missed it... I want just pure ASCII, please help me!
- >(Ps... This is on the PC-platform... And I'm really fresh on C... and I
- >hope there is a standard function for this... ;)
-
- No - there is a non-standard function for this :-)
-
- Borland and Microsoft provide the functions getch() and getche() (in conio.h)
- to get a single char (without pressing "return") without, or with echo,
- respectively. These are not ANSI standard, and won't be found on other
- systems.
-
- Peter Bennett VE7CEI | Vessels shall be deemed to be in sight
- Internet: bennett@triumf.ca | of one another only when one can be
- Packet: ve7cei@ve7kit.#vanc.bc.ca | observed visually from the other
- TRIUMF, Vancouver, B.C., Canada | ColRegs 3(k)
- GPS and NMEA info and programs: ftp://sundae.triumf.ca/pub/peter/index.html
- or: ftp://ftp-i2.informatik.rwth-aachen.de/pub/arnd/GPS/peter/index.html
-
-
-
-
-
-